package org.ahuanlien.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/*客户理赔申请单*/

@Getter@Setter
public class ToBeAuditedBill {

    /*未审核*/
    public static final  Integer NORMAL =0;
    /*审核通过*/
    public static final  Integer AUDITED =1;
    /*驳回修改*/
    public static final  Integer REJECTED =-1;

    private Long id;
    private String caseNumber;

    private String receptionName;
    private String caseHandlerName;

    private String inputUserName;
    private String claimerName;
    private BigDecimal lostClaimAmount;
    private Long claimerAccount;

    /*申请单审核状态*/
    private Integer status;
    /*申请单提交日期*/
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="gmt+8")
    private Date submitDate;
    private String insuranceBillNumber;
    /*申请单审核日期*/
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="gmt+8")
    private Date auditDate;
    private Employee auditor;

    /*理赔单据号*/
    private String applyNumber;
    /*申请单退回日期*/
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="gmt+8")
    private Date rejectDate;
    /*退回人*/
    private Employee rejector;

}